 body{
    //  未登录时隐藏，解决未登录时跳转登录页闪烁问题
     display: none;
 }
 //  头部
header{
    position: fixed;
    top: 0;left: 0;
    width: 100%;
    height: 45px;
    padding:5px;
    background-color: #f7f7f7ff;
    // margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    #del-btn{
        display: none; 
    }
   button{
       color:#449cfd;
       border: 1px solid #449cfd;
   }
    .H-title{
        flex: 1;
        text-align: center;
        font-size: 16px;
        color: #666;
        // line-height: 40px;
    }
}
.pyg_view{
    margin-top: 40px;
    padding: 0 10px;
    // 配送
    .address{
        color: #666;
        font-size: 14px;
        .addr-title{}
        .addr-content{
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #fff;
            padding: 8px 0;
           span{
               color: #000;
               font-size: 25px;
               flex: 1;
               text-align: center;
           }
           .addr-des{
               flex: 8;
               .ad-title{
                   color: #000;
                   font-size: 16px;
               }
               .ad-content{}
           } 
        }
    }
    // 订单总额
    .order{
        margin-top: 40px;
        // padding: 0 5px;
        color: #666;
      .order-title{}
       .order-content{
           display: flex;
           background-color: #fff;
           padding: 15px 10px;
           .ord-price{
               flex: 1;
               .total_price{
                   color: red;
               }
           }
           .ord-create{
            color: red;
           }
       } 
    }
    // 购物车
    .pyg_cart{
        margin-top: 40px;
        color: #666;
        font-size: 16px;
        .cart-title{
            padding: 5px 0;
        }
        .cart-content{
            ul{
                li{
                    background-color: #fff;
                    margin-bottom: 5px;
                    padding: 10px 0;
                    display: flex;
                    .goods-chk{
                      flex: 1;
                      display: none;
                      justify-content: center;
                      align-items: center;
                      padding: 0 5px;
                      input{
                        position: static;
                       
                      }  
                    } 
                    .goods-img{
                        flex: 1;
                        // width: 90px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        img{
                            // width: 50%;
                        }
                    }
                     .goods-tool{
                         padding-left: 5px;
                         flex: 3;
                         .goods-name{
                             padding: 5px 0;
                            //  以下代码为文字省略
                            display: -webkit-box;
                            overflow: hidden;
                            white-space: normal !important;
                            text-overflow: ellipsis;
                            word-wrap: break-word;
                            -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical;
                         }
                         .goods-nums{
                             display: flex;
                             justify-content: space-between;
                             align-items: center;
                             .g-price{
                                 padding: 0 5px;
                                 color: red;
                                 font-size: 18px;
                             }
                             .mui-numbox{
                                 display: none;
                             }
                         }
                     }
                }
            }
        }
    }

}
// 控制删除、数字输入插件显示与隐藏--通过添加类名
#pyg_body.edit_status{
   #del-btn{
       display: block;
   }
   .goods-chk{
       display: flex;
   }
   .mui-numbox{
    display: block;
}
}